@extends("layout.app")

@section("page-content")
<!-- Main Content -->
<div class="container mx-auto py-8 px-4 sm:px-6 lg:px-8">
    <h1 class="text-3xl font-bold text-gray-800 mb-6">Welcome to EventApp</h1>
    <p class="text-gray-600 mb-8">Discover and join exciting events near you!</p>

    <!-- Event Overview -->
    <div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-6">
        <div class="bg-white p-6 rounded-lg shadow-md">
            <h2 class="text-xl font-semibold text-gray-800 mb-2">Event 1</h2>
            <p class="text-gray-600">Category: Sports</p>
            <p class="text-gray-600">Date: March 10, 2025</p>
            <a href="event_detail.html" class="text-blue-500 hover:underline mt-2 inline-block">View Details</a>
        </div>
        <div class="bg-white p-6 rounded-lg shadow-md">
            <h2 class="text-xl font-semibold text-gray-800 mb-2">Event 2</h2>
            <p class="text-gray-600">Category: Music</p>
            <p class="text-gray-600">Date: March 12, 2025</p>
            <a href="event_detail.html" class="text-blue-500 hover:underline mt-2 inline-block">View Details</a>
        </div>
        <div class="bg-white p-6 rounded-lg shadow-md">
            <h2 class="text-xl font-semibold text-gray-800 mb-2">Event 3</h2>
            <p class="text-gray-600">Category: Tech</p>
            <p class="text-gray-600">Date: March 15, 2025</p>
            <a href="event_detail.html" class="text-blue-500 hover:underline mt-2 inline-block">View Details</a>
        </div>
    </div>
</div>
@endsection


